package hc.bre.clas.branch

import hc.bre.clas.ClasBuilder

@groovy.transform.CompileStatic
class BranchBuilder extends ClasBuilder<BranchDefinition>{
	@Override
	public String rangeVariable() {
		apdNl("def _rangeVariable_ = {");
		nested{
			apdNlBlock(ruleDef.script);
		};
		apdNl("}.call();");
		
		return "_rangeVariable_";
	}
}
